/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package server.persistencia;

import java.sql.SQLException;
import java.util.ArrayList;

/**
 *
 * @author tpaxle
 */
public abstract class DAOCita implements IDAO{
	abstract public ArrayList<Object> select(String condicion)throws SQLException;
	//Devuelve el numero de elementos insertados.

	abstract public int insert(Object obj)throws SQLException;
	abstract public int update(Object obj)throws SQLException;
	abstract public int delete(Object person)throws SQLException;

	abstract public Object find(String condicion)throws SQLException;

	abstract public void cerrarDAO()throws SQLException;
}
